using System;
using System.Linq;
using System.Collections.Generic;
using System.Text;
using clf.weighing.entity;

namespace weighing
{
    /// <summary>
    /// 磅房
    /// </summary>

    public class ScaleHouseVo : BaseVo
    {
        #region Constract
        public ScaleHouse mScaleHouse;
        public ScaleHouseVo(ScaleHouse scaleHouse)
        {
            mScaleHouse = scaleHouse;
        }
        #endregion

        #region propertys

        public Int64 Id
        {
            get
            {
                return mScaleHouse.id;
            }
            set
            {
                mScaleHouse.id = value;
                OnPropertyChanged(this, nameof(Id));
            }
        }


        public String Name
        {
            get
            {
                return mScaleHouse.name;
            }
            set
            {
                mScaleHouse.name = value;
                OnPropertyChanged(this, nameof(Name));
            }
        }

        /// <summary>
        /// 注释:首拼
        /// 可空:YES
        /// </summary>

        public String NameSpell
        {
            get
            {
                return mScaleHouse.nameSpell;
            }
            set
            {
                mScaleHouse.nameSpell = value;
                OnPropertyChanged(this, nameof(NameSpell));
            }
        }

        /// <summary>
        /// 注释:所属公司ID
        /// 可空:NO
        /// 默认值:0
        /// </summary>

        public Int64 CompanyId
        {
            get
            {
                return mScaleHouse.companyId;
            }
            set
            {
                mScaleHouse.companyId = value;
                OnPropertyChanged(this, nameof(CompanyId));
            }
        }


        public Int32? IsDelete
        {
            get
            {
                return mScaleHouse.isDelete;
            }
            set
            {
                mScaleHouse.isDelete = value;
                OnPropertyChanged(this, nameof(IsDelete));
            }
        }

        /// <summary>
        /// 注释:删除原因
        /// 可空:YES
        /// </summary>

        public String DeleteReason
        {
            get
            {
                return mScaleHouse.deleteReason;
            }
            set
            {
                mScaleHouse.deleteReason = value;
                OnPropertyChanged(this, nameof(DeleteReason));
            }
        }


        public String Remark
        {
            get
            {
                return mScaleHouse.remark;
            }
            set
            {
                mScaleHouse.remark = value;
                OnPropertyChanged(this, nameof(Remark));
            }
        }


        public DateTime? DeleteTime
        {
            get
            {
                return mScaleHouse.deleteTime;
            }
            set
            {
                mScaleHouse.deleteTime = value;
                OnPropertyChanged(this, nameof(DeleteTime));
            }
        }


        public DateTime? AddTime
        {
            get
            {
                return mScaleHouse.addTime;
            }
            set
            {
                mScaleHouse.addTime = value;
                OnPropertyChanged(this, nameof(AddTime));
            }
        }


        public Int64? AddUserId
        {
            get
            {
                return mScaleHouse.addUserId;
            }
            set
            {
                mScaleHouse.addUserId = value;
                OnPropertyChanged(this, nameof(AddUserId));
            }
        }


        public String AddUserName
        {
            get
            {
                return mScaleHouse.addUserName;
            }
            set
            {
                mScaleHouse.addUserName = value;
                OnPropertyChanged(this, nameof(AddUserName));
            }
        }


        public DateTime? UpdateTime
        {
            get
            {
                return mScaleHouse.updateTime;
            }
            set
            {
                mScaleHouse.updateTime = value;
                OnPropertyChanged(this, nameof(UpdateTime));
            }
        }


        public Int64? UpdateUserId
        {
            get
            {
                return mScaleHouse.updateUserId;
            }
            set
            {
                mScaleHouse.updateUserId = value;
                OnPropertyChanged(this, nameof(UpdateUserId));
            }
        }


        public String UpdateUserName
        {
            get
            {
                return mScaleHouse.updateUserName;
            }
            set
            {
                mScaleHouse.updateUserName = value;
                OnPropertyChanged(this, nameof(UpdateUserName));
            }
        }

        /// <summary>
        /// 注释:状态 1 正常 0禁用
        /// 可空:YES
        /// 默认值:1
        /// </summary>

        public Int32? Status
        {
            get
            {
                return mScaleHouse.status;
            }
            set
            {
                mScaleHouse.status = value;
                OnPropertyChanged(this, nameof(Status));
            }
        }

        #endregion

        #region Text

        #endregion

    }
}
